package com.zjg.service;

import java.util.List;

import com.zjg.bean.Hobby;
import com.zjg.dao.HobbyDaoImp;
import com.zjg.dao.iface.HobbyDao;
import com.zjg.service.iface.HobbyService;

public class HobbyServiceImp implements HobbyService {
	HobbyDao hobbydao=new HobbyDaoImp();
	@Override
	public List<Hobby> getHobbies() {
		
		return hobbydao.getHobbies();
	}

}
